Listing 98.1 - HelloWorld.js - A Simple Hello World Script, Written with JScript
Listing 98.2 - HelloWorld.vbs - The Hello World Script Again, This Time Written with VBScript
Listing 98.3 - ToggleCurrentTagCase.js - Changing the case of the currently-selected tag in the active document
Listing 98.4 - ToggleCurrentTagCase2.js - Splitting VTOM script code up into helper functions or subroutines
Listing 98.5 - CorrectTagCaseInAllFiles.js - Cycling through and processing the contents of each open document
Listing 98.6 - ConvertCFMLToCFScript.vbs - Using the VBScript Regular Expression implementation to manipulate the selected text in Studio
Listing 98.7 - CreateCFXTagsToolbar.js - Interacting with WDDX via HTTP and COM, via ActiveX
Listing 98.8 - ExposeCFXTagsAsWddx.cfm - The ColdFusion template that supplies information about installed CFX tags to Listing 98.7
Listing 98.9 - CFXTagChooser.js - Launching an HTML dialog box using ScriptX 
Listing 98.10 - dlg_CFXTagChooser.htm - A HTML-based dialog box that interacts with Studio via the VTOM



Figure 98.1 - The Hello World example simply displays this message dialog box.
Figure 98.2 - ColdFusion Studio allows you add toolbar buttons that execute your own VTOM scripts.
Figure 98.3 - You can assign handy keyboard shortcuts to the VTOM scripts that you use the most.
Figure 98.4 - ColdFusion Fusion can fetch information from ActiveX objects, then expose the information in its own user interface.
Figure 98.5 - Using ScriptX and the VTOM together, you can create interactive dialog boxes that extend ColdFusion Studio, HomeSite, or JRun Studio in exciting new ways.


Table 98.1 - Summary of VTOM methods and properties used in Listing 98.3
Table 98.2 - Summary of VTOM methods and properties used in Listing 98.5
